	
	public Image splashImg;
	
	
	public void UpdateSplash()
	{
		try
		{
			if(splashImg==null)
			{
				splashImg = Image.createImage(SPRITES.SPLASH_IMAGE);
				logoImg = null;
			}
		}
		catch(Exception e)
		{
		}
			
		cGame_g.drawImage(splashImg, LOGO.SPLASH_X, LOGO.SPLASH_Y, 0);
		
		if((System.currentTimeMillis() / 1000) % 2 == 0)
		{
			font.setColor(LOGO.PRESS_FIVE_COLOR);
			font.drawString(TEXT.PRESS_FIVE, LOGO.PRESS_FIVE_X, LOGO.PRESS_FIVE_Y, DSmallFont.BOTTOM | DSmallFont.HCENTER);
		}
		
		#ifdef USE_DRAWRGB
		if(logo_fadeIn && logo_alphaLevel > LOGO.ALPHA_LEVEL_END)
			logo_alphaLevel-=LOGO.ALPHA_STEP;
		else if(logo_alphaLevel == 0)
		{
			if(fadeInEnd == 0)
				fadeInEnd = System.currentTimeMillis();
			logo_fadeIn = false;
		}
				
		drawAlphaRect(cGame_g, LOGO.SPLASH_X, LOGO.SPLASH_Y, splashImg.getWidth(), splashImg.getHeight(), LOGO.BACKGROUND_COLOR, logo_alphaLevel);
		#endif
		
		if(isKeyPressed(KEYS.KEY_FIRE) || isKeyPressed(KEYS.KEY_5))
		{
			clearKeys();
			SetState(STATES.MAIN_MENU);
		}
	}